<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>test</title>
    <link rel="stylesheet" type="text/css" media="all" href="/static/layui/css/layui.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/static/css/common.css"/>
    <link rel="stylesheet" type="text/css" media="all" href="/static/js/jquery.min.js"/>
</head>
<body>
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>新建Case</legend>
    </fieldset>
    <div class="layui-col-md-offset6">
        <a href="/index" style="margin-top:10px;" target="_blank" class="layui-btn layui-btn-warm">返回</a>
    </div>
    <div class="layui-container">
        <div class="layui-row">
            <div class="layui-col-xs6">
                <form id="caseform" enctype="multipart/form-data" class="layui-form layui-form-pane" action="file/uploadFile" method="post">
                    <div class="layui-form-item">
                         {% csrf_token %}
                        <div class="layui-input-inline layui-col-md-offset2">
                            <input type="file" name="myfile" style="width: 200px;" />
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">上传人</label>
                         <div class="layui-input-inline">
                             <select name="PersonName" >
                                 <option value="杰杰">杰杰</option>
                                 <option value="雅雅">雅雅</option>
                             </select>
                         </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">是否启用</label>
                         <div class="layui-input-inline">
                             <select name="Status" >
                                 <option value="启用">启用</option>
                                 <option value="不启用">不启用</option>
                             </select>
                         </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">项目选择:</label>
                        <div class="layui-input-inline">
                            <select name="ProjectName">
                                <option value="近近">近近</option>
                                <option value="财务工作台">财务工作台</option>
                                <option value="业务工作台">业务工作台</option>
                            </select>
                        </div>
                     </div>
                    <div class="layui-form-item layui-form-text">
                        <label class="layui-form-label">脚本说明</label>
                        <div class="layui-input-block">
                            <textarea placeholder="说明简洁点..." name="FileContext" style="height: 250px" class="layui-textarea"></textarea>
                        </div>
                    </div>
                    <button type="submit" class="layui-btn" lay-filter="add" id="add" lay-submit="">提交</button>

                </form>
            </div>


            </div>
        </div>
    </div>



    <div class="fly-footer" style="margin-right: auto; margin-left: auto; width: 200px;">
        <p><a href="#" target="_blank">我打 - 测试部</a> 2018</p>
    </div>
    <script type="text/javascript" src="/static/layui/layui.all.js"></script>
    <script type="text/javascript" src="/static/js/jquery.min.js"></script>


</body>



</html>